<?php
session_start();

include_once 'classes\Storage.class.php'

?>
<html>
<head>
	<script type='text/javascript' src='js\jquery-1.4.2.js' language='javascript'>
	</script>
</head>
<body>
<?php

 
$hStorage = new Storage();

$hStorage->setUserName("Carlos");
echo "<br/>";
$hStorage->setPassword("admin");
echo "<br/>";

echo $hStorage->CheckFromStorage();

$_SESSION[storage] = $hStorage;

$hStorage = $_SESSION[storage];
$hStorage->ShowStorage();
//$hStorage->SaveToStorage();
?>
<a href="testSession.php">aaaa</a>
</body>
</html>